<template>
  <a-tooltip placement="top">
    <template slot="title">
      <span>{{ title?title:$t('noSuchPermission') }}</span>
    </template>
    <slot></slot>
  </a-tooltip>
</template>
<script>
// 无权限 提示组件
export default {
  name: 'HasNoPerssionTip',
  props: {
    title: {
      type: String,
      default: ''
    }
  },
  data () {
    return {}
  },
  methods: {}
}
</script>
